package cn.rongdao.jrkabao.ui.message.adapter;

import android.content.Context;
import android.view.ViewGroup;

import com.mifengkong.frtools.ui.adapter.recyclerview.FRBaseRecyclerAdapter;
import com.mifengkong.frtools.inputmethod.FRView;

import cn.rongdao.jrkabao.R;
import cn.rongdao.jrkabao.bean.message.SystemMessageBean;

/**
 * Created by jack on 2017/8/21
 */

public class SystemMessageAdapter extends FRBaseRecyclerAdapter<SystemMessageBean,SystemMessageViewHolder> {

    public SystemMessageAdapter(Context context, OnItemClickListener<SystemMessageViewHolder> listener) {
        super(context, listener);
    }

    @Override
    public SystemMessageViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
        return new SystemMessageViewHolder(FRView.inflateLayout(getContext(), R.layout.item_system_message,parent,false));
    }
}
